package com.jie.dao;

import com.jie.entity.Agency;

import java.util.List;

/**
 * Created by 12904 on 2018/8/1.
 */
public interface AgencyDao
{
    //查询代理并分页
    public List<Agency> find(int page, int size);

    //查询代理人数
    public int find();

    //删除代理
    public int delAgency(int agencyid);

    //查询代理id
    public int findByuid(int uid);

    //修改
    public int update(Agency agency);

    //通过id  查询代理信息
    public Agency findAgency(int agencyid);
}
